package com.sftz.assets.entities.question;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("homework_question_answer_file")
public class HomeworkQuestionAnswerFileEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("对应答题的id")
	private Integer answerId;

	@Column
	@Comment("上传资源的名称")
	private String resourceName;

	@Column
	@Comment("上传资源的数据")
	private String resourceValue;

	@Column
	@Comment("上传资源的类型")
	private Integer resourceType;

	@Column
	@Comment("创建时间")
	private Date createDate;

}